package com.lz.ub.hm

/**
 * @author you
 * 读取回调
 */
interface UBReadCallback {

    //在主线程中回调
    fun onRead(link: Int, bytes: ByteArray, start: Int, size: Int)

    //连接状态
    fun onConnectStateChanged(link: Int, status: Int)
}